Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Manipulating Printer Objects


GXSelectPrinterViewDevice

You can use the GXSelectPrinterViewDevice function to specify a view device for a printer object.

void GXSelectPrinterViewDevice (gxPrinter aPrinter,
                                    long whichViewDevice);
aPrinter
A reference to the printer object associated with a particular view device.
whichViewDevice
The index value of the view device you want to select.
DESCRIPTION
The GXSelectPrinterViewDevice function determines the printer resolution and color space of the printer referenced by the aPrinter parameter. A printer object refers to one or more view devices, each of which contains a combination of printer resolution and color space available for the specified printer. You specify an index value, starting with 1, in the whichViewDevice parameter. The parameter specifies a particular view device.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help